public class Main {
    public static void main(String[] args) {
        MyArrayList list1 = new MyArrayList();
        list1.add(1);
        list1.add(0,1);
        System.out.println(list1.size());
        list1.display();
    }
}
